package cn.tedu.micro.device.repository.impl;

import cn.tedu.micro.common.pojo.po.GunInfoPO;
import cn.tedu.micro.device.mapper.GunInfoMapper;
import cn.tedu.micro.device.repository.GunRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class GunRepositoryImpl implements GunRepository {
    @Autowired
    private GunInfoMapper gunInfoMapper;

    @Override
    public GunInfoPO getGunInfo(Integer gunId) {
        return gunInfoMapper.selectById(gunId);
    }
}
